package com.ruoyi.order.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 当前物流信息管理对象 logistic_info
 * 
 * @author lzp
 * @date 2025-02-10
 */
public class LogisticInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 物流信息id */
    private Long logisticId;

    /** 配送单号 */
    @Excel(name = "配送单号")
    private String deliveryOrderNo;

    /** 时间 */
    private Date timeTamp;

    /** 地点 */
    @Excel(name = "地点")
    private String location;

    /** 备注 */
    @Excel(name = "备注")
    private String remarks;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date generatedDate;

    /** 修改时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "修改时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date updatedDate;

    /** 修改人 */
    @Excel(name = "修改人")
    private String updatedPerson;

    public void setLogisticId(Long logisticId) 
    {
        this.logisticId = logisticId;
    }

    public Long getLogisticId() 
    {
        return logisticId;
    }
    public void setDeliveryOrderNo(String deliveryOrderNo) 
    {
        this.deliveryOrderNo = deliveryOrderNo;
    }

    public String getDeliveryOrderNo() 
    {
        return deliveryOrderNo;
    }
    public void setTimeTamp(Date timeTamp) 
    {
        this.timeTamp = timeTamp;
    }

    public Date getTimeTamp() 
    {
        return timeTamp;
    }
    public void setLocation(String location) 
    {
        this.location = location;
    }

    public String getLocation() 
    {
        return location;
    }
    public void setRemarks(String remarks) 
    {
        this.remarks = remarks;
    }

    public String getRemarks() 
    {
        return remarks;
    }
    public void setGeneratedDate(Date generatedDate) 
    {
        this.generatedDate = generatedDate;
    }

    public Date getGeneratedDate() 
    {
        return generatedDate;
    }
    public void setUpdatedDate(Date updatedDate) 
    {
        this.updatedDate = updatedDate;
    }

    public Date getUpdatedDate() 
    {
        return updatedDate;
    }
    public void setUpdatedPerson(String updatedPerson) 
    {
        this.updatedPerson = updatedPerson;
    }

    public String getUpdatedPerson() 
    {
        return updatedPerson;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("logisticId", getLogisticId())
            .append("deliveryOrderNo", getDeliveryOrderNo())
            .append("timeTamp", getTimeTamp())
            .append("location", getLocation())
            .append("remarks", getRemarks())
            .append("generatedDate", getGeneratedDate())
            .append("updatedDate", getUpdatedDate())
            .append("updatedPerson", getUpdatedPerson())
            .toString();
    }
}
